//
//  WSLoginViewController.m
//  FamilyLinkPro
//
//  Created by 江鹏 on 2023/9/4.
//  Copyright © 2023 SiterWell.Co.,Ltd. All rights reserved.
//

#import "WSLoginHomeViewController.h"
#import <UserNotifications/UserNotifications.h>

@interface WSLoginHomeViewController ()

@end

@implementation WSLoginHomeViewController



- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self setupSubviews];
    
    
    //    self.hbd_barShadowHidden = YES;
    //    self.hbd_barTintColor = [UIColor whiteColor];
    //    self.hbd_barAlpha = 0.0;
    //    self.hbd_barStyle = UIBarStyleBlack;
    //    self.hbd_tintColor = UIColor.whiteColor;
    //    self.hbd_barShadowHidden = YES;
    //    self.title = @"";
    
}

// MARK: 添加子控件
- (void)setupSubviews {
    self.isHideLeftBarButtonItem = YES;
    WSLoginHomeContentView *contentView = [[WSLoginHomeContentView alloc] initWithFrame:CGRectZero];
    [self.view addSubview:contentView];
    [contentView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.view).insets(UIEdgeInsetsZero);
    }];
    contentView.delegate = self;
    
    
}


// MARK: 代理实现方法

#pragma mark -- 立即体验
- (void)expressBtnClick {
    
}

#pragma mark -- 登录
- (void)loginBtnClick {
    [WSLoginViewController showController:self];
}

#pragma mark -- 注册
- (void)regiserBtnClick {
    //    [WSRegisterViewController showController:self];
    WSRegisterViewController *vc = [[WSRegisterViewController alloc] init];
    [self.navigationController pushViewController:vc animated:YES];
}







@end
